# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=secscan
pkgver=1.5
pkgrel=5
groups=('blackarch' 'blackarch-webapp' 'blackarch-scanner')
pkgdesc='Web Apps Scanner and Much more utilities.'
arch=('any')
url='http://code.google.com/p/secscan-py/'
license=('GPL3')
depends=('python2' 'python2-paramiko')
makedepends=('unzip')
source=('http://secscan-py.googlecode.com/files/secscan.py.zip')
sha512sums=('4142efc4b3ab3c9e79a25481845b33f199ef3929')

prepare() {
  sed -i 's/env python/env python2/' "$pkgname.py"
}

package() {
  install -Dm 755 "$pkgname.py" "$pkgdir/usr/bin/$pkgname"
}

